Einhugur Word Plugin for Objo

Einhugur.Word.Section.SetPageSize Method

Sets page size for the pages in the section. This variation takes in detailed size values and printer paper code.

SetPageSize(
   width as Double,
   height as Double,
   unit as Einhugur.Word.Units,
   printerPaperCode as Einhugur.Word.PrinterPaperCodes)

Parameters

width
Width in the unit specified by the unit parameter.
height
Height in the unit specified by the unit parameter.
unit
The unit of measurement for the width and height.
printerPaperCode
Printer paper code to use.

Remarks

When using custom sizes then printer paper code often does not match the actual size.

See Also

Einhugur.Word.Section Class